﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sheeps
{
    public class DiscreteMovementDogAlgorithm : DogBehaviorAlogorithm
    {
        private struct StateOffset
        {
            public Vector3 Offset;
            public GameState State;
        }

        //public void CalculateState(ref //TODO: here i have to sleep

        public override void UpdatePositions(GameState gameState)
        {
            StateOffset[] results = new StateOffset[4];
            int i = 0;

            results[i].State = (GameState)gameState.Clone();
            results[i].Offset = new Vector3(1, 0, 0) * gameState.Dog.MaxMoveLength;
            results[i].State.Dog.Position += results[i].Offset;
        }
    }
}
